#ifndef UGLFONTOBJ
#define UGLFONTOBJ
#include "stdafx.h"
#include <string>
#include "UTypes.h"
#include "UGLFont.h"



class TGLFontObj 
	{
	private:
		float h;
		uint LineCount;
		string* str;
		int* TWidth;
		int* Left;
		int* Top;
		int* Right;
		int* Bottom;
		TGLFontRef font;
	public:
		TGLFontObj(TGLFontRef Font, const TRectangle& Rect, const HTextParams& HParams, const VTextParams& VParams, const char *text);
		~TGLFontObj();
		void Draw();
};

#endif
